home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 18115 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 KB

  1. Path: taco.cc.ncsu.edu!news
  2. From: Caius Martius <caius@nando.net>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Problems using templates in Borland v5.0
  5. Date: Thu, 18 Apr 1996 18:47:48 -0400
  6. Organization: North Carolina State University
  7. Message-ID: <3176C694.1E0B@nando.net>
  8. References: <31756C1D.4E67@nando.net> <craigaDq15pt.2rL@netcom.com>
  9. NNTP-Posting-Host: c00968-100lez.eos.ncsu.edu
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.4 sun4m)
  14.  
  15. Craig Arnush wrote:
  16. > Caius Martius <caius@nando.net> writes:
  17. > >
  18. > >"Unresolved External: Bla Bla Bla..."
  19. >                        ^^^^^^^^^^^^^^
  20. >                              /
  21. >          --------------------
  22. >         /
  23. > Well, that's kind of the important bit.  What it's not finding depends
  24. > upon what libraries are linked.  What exactly is unresolved?  Is it
  25. > soemthing from the standard run-time library?  Are you, perhaps,
  26. > misspelling something somehow and prototyping it so it gets past the
  27. > compiler?
  28. > Me
  29. > --
  30. > /-------------------------------------------------------------------\
  31. > | Craig Arnush      | "Only the heir to the throne of the kindom of |
  32. > |                   |  idiots fights a war on twelve fronts."       |
  33. > | craiga@netcom.com |         - L. Mollari                          |
  34. > \-------------------------------------------------------------------/
  35.  
  36. okay, the problem breaks down like this...  If I put my template class
  37. declarations and definitions in the same *.cpp as main(), everything
  38. works fine... BUT!!! (and there is always a but) If I put my template
  39. classes in seperate *.H and *.cpp files, then I get the unresolved
  40. external references to my template classes...  I think that my problem
  41. may be with how I am placing files into the project manager...?
  42.  
  43. Sorry, should have been more specific.
  44. -- 
  45. Caius Martius
  46.